package org.example.route.event;

import org.example.route.event.source.OrderCancelSource;
import org.example.route.event.source.OrderPaySource;
import org.springframework.context.ApplicationEvent;

public class OrderPayEvent extends ApplicationEvent {
    private OrderPaySource orderPaySource;

    public OrderPayEvent(Object source) {
        super(source);
    }

    public OrderPayEvent(Object source, OrderPaySource orderPaySource) {
        super(source);
        this.orderPaySource = orderPaySource;
    }

    public OrderPaySource getOrderPaySource() {
        return orderPaySource;
    }



}
